<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
	  <t:datagrid name="useLogList" checkbox="false" fitColumns="true" title="实验室使用记录" 
	  			  actionUrl="rptRoomUseLogController.do?datagrid" idField="id" fit="true" queryMode="group">
		  <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  <t:dgCol title="机房id"  field="roomId"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  <t:dgCol title="使用人id"  field="userId"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  
		  <t:dgCol title="创建日期"  field="createDate" hidden="true" formatter="yyyy-MM-dd" width="120"></t:dgCol>
		  
		  <t:dgCol title="实验室" field="roomNo" query="true" queryMode="single" width="120"></t:dgCol>
		  <t:dgCol title="预约人学号" field="stuNo" query="true" queryMode="single" width="120"></t:dgCol>
		  <t:dgCol title="预约人姓名" field="userName" query="true" queryMode="single"  width="120"></t:dgCol>  
		  <t:dgCol title="开始时间"  field="startUseDate" query="false" queryMode="single" formatter="yyyy-MM-dd hh:mm"  width="120"></t:dgCol>  
		  <t:dgCol title="结束时间"  field="endUseDate" query="false" queryMode="single" formatter="yyyy-MM-dd hh:mm" width="120"></t:dgCol>  
		  
		  <t:dgToolBar title="excelOutput" icon="icon-putout" funname="ExportXls"></t:dgToolBar>
	  </t:datagrid>
  </div>
</div>
<script type="text/javascript"> 
	//导出
	function ExportXls() {
		JeecgExcelExport("rptRoomUseLogController.do?exportLogXls","useLogList");
	} 
	
</script>